package com.example.demo.task;

import org.flowable.engine.delegate.TaskListener;
import org.flowable.task.service.delegate.DelegateTask;

/**
 * 选择财务主管
 *
 * @Author hweiyu
 * @Description
 * @Date 2022/7/11 10:29
 */
public class ChooseTreasurerTaskListener implements TaskListener {

    @Override
    public void notify(DelegateTask delegateTask) {
        delegateTask.setAssignee("杨主管");
    }

}
